import http from "@/utils/http";
export const getList = (params) => {
  return http.get("/research/service/list", params);
};
//获取数据统计
export const getCount = (params) => {
  return http.get("/research/service/groups", params);
};
//编辑
export const editRecords = (params) => {
  return http.post(`/research/service/saveResServ`, params);
};
//删除
export const delRecords = (id) => {
  return http.del(`/research/service/${id}`);
};
//详情
export const recordsDetail = (id) => {
  return http.get(`/research/service/${id}`);
};
//导出
export const exportRecords = (params = {}) => {
  return http.post("/research/service/export", params, {
    responseType: "blob",
  });
};
